package com.olddriver.crm.mapper;

import com.olddriver.crm.domain.ClientFollow;
import com.olddriver.crm.query.ClientFollowQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClientFollowMapper {

    int delete(Long id);

    int save(ClientFollow clientFollow);

    ClientFollow get(Long id);

    List<ClientFollow> list();

    int update(ClientFollow clientFollow);

    int queryTotal(ClientFollowQueryObject qo);

    List<ClientFollow> queryRows(ClientFollowQueryObject qo);

    void sign(@Param("id") Long id, @Param("result_id") Integer result_id);
}